home *** CD-ROM | disk | FTP | other *** search
- # Standard Windows make file. The utility MAKE.EXE compares the
- # creation date of the file to the left of the colon with the file(s)
- # to the right of the colon. If the file(s) on the right are newer
- # then the file on the left, Make will execute all of the command lines
- # following this line that are indented by at least one tab or space.
- # Any valid MS-DOS command line may be used.
-
- copt=-c -AL -Gsw -Oas -Zpe -W3
- lopt=/NOD
-
- # Update the resource if necessary
-
- windxf.res: windxf.rc windxf.h
- rc -r windxf.rc
-
- # Update the object file if necessary
-
- windxf.obj: windxf.c windxf.h
- cl $(copt) windxf.c
-
- flist.obj: flist.c windxf.h
- cl $(copt) flist.c
-
- dxfdraw.obj: dxfdraw.c windxf.h
- cl $(copt) dxfdraw.c
-
- # Update the executable file if necessary, and if so, add the resource back in.
- # The /NOE must be included when linking with Windows libraries.
-
- windxf.exe: windxf.obj windxf.def flist.obj dxfdraw.obj
- link4 windxf flist dxfdraw, , , \windev\lib\libw \windev\lib\llibcew/NOE $(lopt), windxf.def
- rc windxf.res
-
- # If the .res file is new and the .exe file is not, update the resource.
- # Note that the .rc file can be updated without having to either
- # compile or link the file.
-
- windxf.exe: windxf.res
- rc windxf.res